<?php
/* @var $this GeneralInformationController */
/* @var $model GeneralInformation */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'general-information-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'building_permit_no'); ?>
		<?php echo $form->textField($model,'building_permit_no'); ?>
		<?php echo $form->error($model,'building_permit_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'bpn_date_issued'); ?>
		<?php echo $form->textField($model,'bpn_date_issued'); ?>
		<?php echo $form->error($model,'bpn_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'occupancy_permit_no'); ?>
		<?php echo $form->textField($model,'occupancy_permit_no'); ?>
		<?php echo $form->error($model,'occupancy_permit_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'opn_date_issued'); ?>
		<?php echo $form->textField($model,'opn_date_issued'); ?>
		<?php echo $form->error($model,'opn_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'other_information'); ?>
		<?php echo $form->textArea($model,'other_information',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'other_information'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'latest_fsic_issued_control_no'); ?>
		<?php echo $form->textField($model,'latest_fsic_issued_control_no'); ?>
		<?php echo $form->error($model,'latest_fsic_issued_control_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ficn_date_issued'); ?>
		<?php echo $form->textField($model,'ficn_date_issued'); ?>
		<?php echo $form->error($model,'ficn_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ficn_fc_fee'); ?>
		<?php echo $form->textField($model,'ficn_fc_fee'); ?>
		<?php echo $form->error($model,'ficn_fc_fee'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'total_floor_area_occupied'); ?>
		<?php echo $form->textField($model,'total_floor_area_occupied'); ?>
		<?php echo $form->error($model,'total_floor_area_occupied'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'certificate_of_fire_drill'); ?>
		<?php echo $form->textArea($model,'certificate_of_fire_drill',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'certificate_of_fire_drill'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cofd_date_issued'); ?>
		<?php echo $form->textField($model,'cofd_date_issued'); ?>
		<?php echo $form->error($model,'cofd_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cofd_fc_fee'); ?>
		<?php echo $form->textField($model,'cofd_fc_fee'); ?>
		<?php echo $form->error($model,'cofd_fc_fee'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'latest_notice_to_correct_violation_control_no'); ?>
		<?php echo $form->textField($model,'latest_notice_to_correct_violation_control_no'); ?>
		<?php echo $form->error($model,'latest_notice_to_correct_violation_control_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'ntcvcn_date_issued'); ?>
		<?php echo $form->textField($model,'ntcvcn_date_issued'); ?>
		<?php echo $form->error($model,'ntcvcn_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'name_of_fire_insurance_co_insurer'); ?>
		<?php echo $form->textField($model,'name_of_fire_insurance_co_insurer',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'name_of_fire_insurance_co_insurer'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'policy_no'); ?>
		<?php echo $form->textField($model,'policy_no'); ?>
		<?php echo $form->error($model,'policy_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nofic_date_issued'); ?>
		<?php echo $form->textField($model,'nofic_date_issued'); ?>
		<?php echo $form->error($model,'nofic_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'latest_mayor_or_business_permit'); ?>
		<?php echo $form->textArea($model,'latest_mayor_or_business_permit',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'latest_mayor_or_business_permit'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mobp_date_issued'); ?>
		<?php echo $form->textField($model,'mobp_date_issued'); ?>
		<?php echo $form->error($model,'mobp_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'municipal_license_no'); ?>
		<?php echo $form->textField($model,'municipal_license_no'); ?>
		<?php echo $form->error($model,'municipal_license_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'mln_date_issued'); ?>
		<?php echo $form->textField($model,'mln_date_issued'); ?>
		<?php echo $form->error($model,'mln_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'latest_certificate_of_electrical_inspection_no'); ?>
		<?php echo $form->textField($model,'latest_certificate_of_electrical_inspection_no'); ?>
		<?php echo $form->error($model,'latest_certificate_of_electrical_inspection_no'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'coein_date_issued'); ?>
		<?php echo $form->textField($model,'coein_date_issued'); ?>
		<?php echo $form->error($model,'coein_date_issued'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'inspection_id'); ?>
		<?php echo $form->textField($model,'inspection_id'); ?>
		<?php echo $form->error($model,'inspection_id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->